package com.zg.scf.domain.req.plan;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zg.common.core.req.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * DESCRIPTION
 *
 * @author zhanfeng.liang
 * @since 2025-07-14
 */

@Data
@ApiModel(value = "铁路计划PageReq")
public class RailwayPlanPageReq extends PageReq {



    @ApiModelProperty(value = "计划号", example = "P20250719001", notes = "计划的唯一业务编号")
    private String planNo;

    @ApiModelProperty(value = "计划类型编码", example = "COAL", notes = "如运煤、运矿等类型编码")
    private String type;

    @ApiModelProperty(value = "收货单位名称", example = "钢铁公司", notes = "接收货物的单位名称")
    private String receiveUnit;

    @ApiModelProperty(value = "计划执行日期", example = "2025-07-20", notes = "计划开始执行的日期")
    private Date planDate;

    @ApiModelProperty(value = "所属公司", example = "XX运输集团", notes = "计划所属的公司名称")
    private String company;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date[] planDates;

}
